package com.carl.common;

import com.carl.model.DataItem;
import lombok.Data;

import java.util.List;

@Data
public class DataListResponse {
    private boolean success;
    private String message;
    private List<DataItem> data;

    public DataListResponse(boolean success, String message, List<DataItem> data) {
        this.success = success;
        this.message = message;
        this.data = data;
    }

    // getter和setter方法
    // ... 
}
